fe7bb940011de8cccaf731df5090fdb96a84398e,src/main/java/org/jboss/remoting3/jmx/RemotingConnector.java,RemotingConnector,connect,#Map#,92

Before Change


        if (result == IoFuture.Status.DONE) {
            connection = futureConnection.get();
        } else if (result == IoFuture.Status.FAILED) {
            throw new IOException(futureConnection.getException());
        } else {
            throw new RuntimeException("Operation failed with status " + result);
        }

After Change


        if (result == IoFuture.Status.DONE) {
            connection = futureConnection.get();
        } else if (result == IoFuture.Status.FAILED) {
            throw futureConnection.getException();
        } else {
            throw new RuntimeException("Operation failed with status " + result);
        }